package com.ccx.coachsite.model;

import java.io.Serializable;
import java.util.ArrayList;

public class ServerResult<T> implements Serializable{

	/**无法访问到服务端的数据*/
	private boolean bNetworkProblem = false;
	
	/**服务端的响应编码*/
	private int resultCode;  
	
	/** 分页信息*/
	private PageInfo pageInfo = new PageInfo();
	
	/**返回结果集*/
	public ArrayList<T> itemList = new ArrayList<T>();
	
	public int getResultCode() {
		return resultCode;
	}

	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}
	
	public PageInfo getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

	public boolean isbNetworkProblem() {
		return bNetworkProblem;
	}

	public void setbNetworkProblem(boolean bNetworkProblem) {
		this.bNetworkProblem = bNetworkProblem;
	}
}
